package org.jeecg.modules.act.service.impl;

import org.jeecg.modules.act.entity.ActShare;
import org.jeecg.modules.act.mapper.ActShareMapper;
import org.jeecg.modules.act.service.IActShareService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Description: 活动分享表
 * @Author: jeecg-boot
 * @Date:   2019-09-04
 * @Version: V1.0
 */
@Service
public class ActShareServiceImpl extends ServiceImpl<ActShareMapper, ActShare> implements IActShareService {

    @Resource
    private ActShareMapper actShareMapper;

    @Override
    public List<Map<String,Object>> countByActId(String actId) {
        return actShareMapper.countByActId(actId);
    }
}
